#include <stdio.h>
long get_long(void);
int main(void)
{
    long start;

    start = get_long();

    return 0;
}

long get_long(void)
{
    long input;
    char ch;

    while (scanf("%ld", &input) != 1)
    {
        while ((ch = getchar()) != '\n')
            putchar(ch);
        printf(" is not an integer.\nPlease enter an integer value, such as 12, -123, or 3: ");
    }

    return input;
}